import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import './style/index.scss'

// 全局组件注册
import LoginTable from '@/components/HowToRegister/index.vue';
import ProgressQueryLogin from '@/components/QueryRegistration/index.vue';
import ProgressQueryPassword from '@/components/QueryRetrievePassword/index.vue';


const app = createApp(App)


app.component('LoginTable',LoginTable)
app.component('ProgressQueryLogin',ProgressQueryLogin)
app.component('ProgressQueryPassword',ProgressQueryPassword)



app.use(ElementPlus)
app.use(createPinia())
app.use(router)

app.mount('#app')
